[INFO] cloning repository https://github.com/mats852/ha-store-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mats852/ha-store-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8b66edb7e60f2548050a069892454714ebe442b6
[INFO] building mats852/ha-store-rust against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmats852%2Fha-store-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mats852/ha-store-rust on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mats852/ha-store-rust
[INFO] finished tweaking git repo https://github.com/mats852/ha-store-rust
[INFO] tweaked toml for git repo https://github.com/mats852/ha-store-rust written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/mats852/ha-store-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d46af03f65803b43abf08992a58ecc1f6529828a9c75d8ddcf85bb414fa6cd20
[INFO] running `Command { std: "docker" "start" "-a" "d46af03f65803b43abf08992a58ecc1f6529828a9c75d8ddcf85bb414fa6cd20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d46af03f65803b43abf08992a58ecc1f6529828a9c75d8ddcf85bb414fa6cd20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d46af03f65803b43abf08992a58ecc1f6529828a9c75d8ddcf85bb414fa6cd20", kill_on_drop: false }`
[INFO] [stdout] d46af03f65803b43abf08992a58ecc1f6529828a9c75d8ddcf85bb414fa6cd20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 73ac3a94b5779859ed3f0bb9820d80e59ce6ee19ee0c9cb2e4850f625ed2498d
[INFO] running `Command { std: "docker" "start" "-a" "73ac3a94b5779859ed3f0bb9820d80e59ce6ee19ee0c9cb2e4850f625ed2498d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling ahash v0.3.8
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling lru v0.6.0
[INFO] [stderr]    Compiling ha-store-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]   --> src/store.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       .map(|&key| self.get(key))
[INFO] [stdout]    |                 - ^^^^^^^^^^^^^ returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 inferred to be a `FnMut` closure
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]    = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ha-store-rust` due to 3 previous errors
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `self`, which is owned by the current function
[INFO] [stdout]   --> src/store.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |       .map(|&key| self.get(key))
[INFO] [stdout]    |            ^^^^^^ ---- `self` is borrowed here
[INFO] [stdout]    |            |
[INFO] [stdout]    |            may outlive borrowed value `self`
[INFO] [stdout]    |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]   --> src/store.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |       return keys
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 26 | |       .iter()
[INFO] [stdout] 27 | |       .map(|&key| self.get(key))
[INFO] [stdout] 28 | |       .collect::<Vec<_>>();
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] help: to force the closure to take ownership of `self` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 27 |       .map(move |&key| self.get(key))
[INFO] [stdout]    |            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "73ac3a94b5779859ed3f0bb9820d80e59ce6ee19ee0c9cb2e4850f625ed2498d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73ac3a94b5779859ed3f0bb9820d80e59ce6ee19ee0c9cb2e4850f625ed2498d", kill_on_drop: false }`
[INFO] [stdout] 73ac3a94b5779859ed3f0bb9820d80e59ce6ee19ee0c9cb2e4850f625ed2498d
